/**
 * 
 */
package com.demo.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.demo.bean.City;
import com.demo.dao.BaseDAO;
import com.demo.dao.PositionDAO;

/**
 * @author Issac
 *
 */
@Repository
public class PositionDAOImpl extends BaseDAO implements PositionDAO {

	/* (non-Javadoc)
	 * @see com.demo.dao.PositionDAO#list()
	 */
	private static final String getCityList = " from City where p_code = '0' order by order_index ";
	public List<City> list() {
		return (List<City>)this.findAll(getCityList, new Object[]{});
	}

}
